package beans;

import entities.Proveedores;
import controllers.ProveedoresFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "proveedoresController")
@ViewScoped
public class ProveedoresController extends AbstractController<Proveedores> implements Serializable {

    @EJB
    private ProveedoresFacade ejbFacade;

    public ProveedoresController() {
        super(Proveedores.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
